module.exports = {
    devServer: {
        hot: true,
        clientLogLevel: 'warning',
        port: 8082,
        overlay: {
            warnings: true,
            errors: true
        }
    },
    lintOnSave: true,
    configureWebpack: {
        resolve: {
            // extensitions 默认已经配置了，就不需要再配置了
            alias: {
                // 默认已经配置了@别名，表示src
                assets: '@/assets',
                common: '@/common',
                components: '@/components',
                network: '@/network',
                views: '@/views',
                store: '@/store',
                config: '@/config'
            }
        }
    }
};
